<!DOCTYPE html>
<html>
  <head>
    <title>RailsZen</title>
    <%= csrf_meta_tags %>

    <%= stylesheet_link_tag    'application', media: 'all'  %>
    <%= javascript_include_tag 'application' %>
    
  </head>

  <body id="all" >
  <div class="app ng-scope app-header-fixed">
    <% flash.each do |message_type, message| %>
        <%= content_tag(:div, message, class: "alert alert-#{message_type}") %>
    <% end %>
    <%= render 'layouts/heard' %>
    <%= render 'layouts/aside'%>

    <div id="content" class="app-content" role="main" >
      <%= yield %>
      <%= debug(params) if Rails.env.development? %>
    </div>

    <%= render 'layouts/footer' %>

  </div>

  </body>
</html>
